import React, { Component } from "react";
import { Provider } from "react-redux";
import Son from "./Son";
import store from "./store";

export default class index extends Component {
  render() {
    return (
      <Provider  store={store}>
        <div>
          <h1>react-redux的基本使用</h1>
          <h1>父组件</h1>
          <Son />
        </div>
      </Provider>
    );
  }
}
